<g:set var="entityName" value="${message(code: 'article.label', default: 'Article')}" />
<div class="dialog">
    <table>
        <tbody>
            <tr  >
                <td valign="top"  style="font-size: 14px;line-height: 200%;">
                <div  style="width:800px;padding: 5px 10px;">${ coursewareInstance?.content}</div></td>
            </tr> 
                                    <tr  >
                <td valign="top"  style="font-size: 14px;line-height: 200%;">
                 <h1>附件：</h1>
                 <g:each in="${coursewareInstance?.attachments}" var="attachment"> 
                       <div class='filename' id="${attachment.id}"><a href='javascript:' class='showAttachment'>${attachment.name}(${Math.round(attachment.size/1024)}k)</a></div>
                        </div>
                    </g:each>
                </td>
            </tr> 
        </tbody>
    </table>
</div>
<div class="buttons">
                &nbsp;发布：<g:formatDate date="${coursewareInstance?.createTime}" formatName="default.datetime.format" />
                最后编辑：<g:formatDate date="${coursewareInstance?.lastTime}"  formatName="default.datetime.format"/>
</div>
